<template>
    <div>
        <p>測試page</p>  
         <table-view ref="table" :tablehead="tableHead"
                        :tabledata="dataList"
                        stripe 
                        :footSelectAll="true"
                        class="pager-square"
            >
            <!-- <div slot="handle_c" class="sort-handle"><i class="fio-shangxiatuodong"></i></div> -->
        </table-view>
    </div>
</template>

<script>
    import tableView from 'party_fe_component/src/components/tableView'
    export default {
        data(){
            return{
                refreshing: false,
                tableHead: [
                // { type: 'selection', minWidth: '100', width: '100' },
                { prop: 'name', label: '名称', minWidth: '120' },
                { prop: 'parentId', label: '发布组织', minWidth: '120' },
                { slot: 'operator', label: '操作', minWidth: '130' },
            ],
                dataList: [
                    {
            "id":"19022617423820034421",
            "spId":null,
            "appId":null,
            "parentId":"18112015221120795005",
            "name":"党委（示例）",
            "category":null,
            "leader":null,
            "contact":null,
            "phoneNumber":null,
            "groupCreateTime":null,
            "permission":true,
            "parentName":null,
            "businessType":null,
            "idList":null,
            "hasChild":1,
            "memberId":null,
            "customAttributeValueMap":null,
            "index":0,
            "subGroups":null,
            "parentGroup":null,
            "page":null,
            "configedWhiteList":false,
            "view":false,
            "positions":null,
            "labelIdList":[

            ],
            "labelIds":null,
            "bizAppId":null
        },
        {
            "id":"19030815213720054557",
            "spId":null,
            "appId":null,
            "parentId":"18112015221120795005",
            "name":"支部2",
            "category":null,
            "leader":null,
            "contact":null,
            "phoneNumber":null,
            "groupCreateTime":null,
            "permission":true,
            "parentName":null,
            "businessType":null,
            "idList":null,
            "hasChild":1,
            "memberId":null,
            "customAttributeValueMap":null,
            "index":0,
            "subGroups":null,
            "parentGroup":null,
            "page":null,
            "configedWhiteList":false,
            "view":false,
            "positions":null,
            "labelIdList":[

            ],
            "labelIds":null,
            "bizAppId":null
        },
        {
            "id":"18112015244920795529",
            "spId":null,
            "appId":null,
            "parentId":"18112015221120795005",
            "name":"本部党委",
            "category":null,
            "leader":null,
            "contact":null,
            "phoneNumber":null,
            "groupCreateTime":null,
            "permission":true,
            "parentName":null,
            "businessType":null,
            "idList":null,
            "hasChild":1,
            "memberId":null,
            "customAttributeValueMap":null,
            "index":1,
            "subGroups":null,
            "parentGroup":null,
            "page":null,
            "configedWhiteList":false,
            "view":false,
            "positions":null,
            "labelIdList":[
                "3"
            ],
            "labelIds":[
                3
            ],
            "bizAppId":null
        },
        {
            "id":"18120517304621058379",
            "spId":null,
            "appId":null,
            "parentId":"18112015221120795005",
            "name":"党总支",
            "category":null,
            "leader":null,
            "contact":null,
            "phoneNumber":null,
            "groupCreateTime":null,
            "permission":true,
            "parentName":null,
            "businessType":null,
            "idList":null,
            "hasChild":1,
            "memberId":null,
            "customAttributeValueMap":null,
            "index":2,
            "subGroups":null,
            "parentGroup":null,
            "page":null,
            "configedWhiteList":false,
            "view":false,
            "positions":null,
            "labelIdList":[

            ],
            "labelIds":null,
            "bizAppId":null
        },
        {
            "id":"19070810461620071266",
            "spId":null,
            "appId":null,
            "parentId":"18112015221120795005",
            "name":"验证组织1",
            "category":null,
            "leader":null,
            "contact":null,
            "phoneNumber":null,
            "groupCreateTime":null,
            "permission":true,
            "parentName":null,
            "businessType":null,
            "idList":null,
            "hasChild":1,
            "memberId":null,
            "customAttributeValueMap":null,
            "index":2,
            "subGroups":null,
            "parentGroup":null,
            "page":null,
            "configedWhiteList":false,
            "view":false,
            "positions":null,
            "labelIdList":[
                "3"
            ],
            "labelIds":[
                3
            ],
            "bizAppId":null
        },
                ],
                loading:true,

            }
        },
       components: { tableView }, 
    }
</script>

<style lang="scss" scoped>

</style>